package com.fushenlan.epidemicControl.dto;


import cn.afterturn.easypoi.excel.annotation.Excel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDateTime;

@Data
@ApiModel("人员信息返回结果")
public class DetectionPersonalInfoDetailsRespDTO {

    @ApiModelProperty("居民id")
    private Long id;

    @ApiModelProperty("所在小区")
    private String residentialName;

    @ApiModelProperty("所在楼栋")
    private String buildingName;

    @ApiModelProperty("所在室")
    private String houseName;

    /**
     * 居住地址
     */
    @ApiModelProperty("居住地址")
    @Excel(name = "居住地址", width = 30,fixedIndex = 0)
    private String address;

    @Excel(name = "姓名", width = 15)
    @ApiModelProperty("居民姓名")
    private String userName;

    /**
     * 证件类型：1-身份证 2-护照 3-港澳通行证 4-台胞证 5-士官证 6-学生证 7-其它证件
     */
    @Excel(name = "证件类型", width = 15,replace = {"身份证_1","护照_2","港澳通行证_3","台胞证_4","士官证_5","学生证_6","其他证件_7"})
    @ApiModelProperty("证件类型")
    private Integer identifyType;

    @Excel(name = "证件号", width = 30)
    @ApiModelProperty("证件号")
    private String identifyNo;

    @Excel(name = "手机号码", width = 15)
    @ApiModelProperty("手机号码")
    private String phoneNumber;

    @ApiModelProperty("1-阳性,2-阴性")
    private String healthStatus;

    @ApiModelProperty("人员状态-1-未转运、2-已转运、3-已治愈")
    private String userStatus;

    @ApiModelProperty("是否登记 1-是 0-否")
    private String ifRegister;

    @ApiModelProperty("转运日期")
    private LocalDateTime transportTime;

    @ApiModelProperty("回家日期")
    private LocalDateTime homeTime;

    @ApiModelProperty("检测日期")
    private LocalDateTime detectionTime;

    @ApiModelProperty(value = "检测结果 1-阳 2-阴",required = true)
    private Integer detectionResult;

    @Excel(name = "是否已检测 是 1 或者否 2", width = 15,replace = {"是_1","否_2"})
//    @Excel(name = "是否已检测 是 1 或者否 2", width = 15,replace = {"1_是","2_否"})
    @ApiModelProperty(value = "是否已检测 1-已检测  2-未检测")
    private Integer ifDetection;


}
